package com.yz.platform.modules.biz.service;

import com.yz.platform.modules.biz.entity.ActivationCodeEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author lin
 * @email 
 * @date 2017-10-15 16:00:56
 */
public interface ActivationCodeService {
	
	ActivationCodeEntity queryObject(Integer codeId);

	ActivationCodeEntity getByCode(String code);

	List<ActivationCodeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(ActivationCodeEntity activationCode);
	
	void update(ActivationCodeEntity activationCode);
	
	void delete(Integer codeId);
	
	void deleteBatch(Integer[] codeIds);

	void stopBatch(Integer[] codeIds);

}
